/**
 * Created by john on 16/8/24.
 */
angular.module("detail")
    .controller("Home",function ($scope) {
        $scope.uname="JohnYu";
    })
    .controller("Product",function ($scope,$routeParams) {
        $scope.uname="MikeLiu";
        alert(JSON.stringify($routeParams));
    })
    .controller("About",function ($scope) {
        $scope.uname="TomLi";
    })